﻿<%@ Page Title="" Language="vb" AutoEventWireup="false" MasterPageFile="~/philadmin/Philadmin.Master" CodeBehind="EditRoomType.aspx.vb" Inherits="Phila.EditRoomType" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
<table width="100%" cellpadding="3" cellspacing="3" align="center">
        <tr>
            <td>
                <h1>
                    Edit Room Type</h1>
                <table width="98%" align="center" cellpadding="2" cellspacing="2">
                    <tr>
                        <td colspan="2" align="center">
                            <asp:Label ID="lblMsg" runat="server" ForeColor="Red" Font-Bold="True"></asp:Label>
                        </td>
                    </tr>
                    <tr>
                        <td width="180px">
                            <b>Room Type</b></td>
                        <td>
                            <asp:TextBox ID="txtName" runat="server" MaxLength="50" Width="250px"></asp:TextBox>
                            &nbsp;<span title="Enter Hotel Name" class="toolTip"><img alt="Help" src="images/help.gif" /></span><asp:RequiredFieldValidator
                                ID="reqName" runat="server" ControlToValidate="txtName" Display="Dynamic" ErrorMessage="&lt;br /&gt;Enter Room Type"
                                Font-Bold="False" ValidationGroup="submit" CssClass="red"></asp:RequiredFieldValidator>
                        </td>
                    </tr>
                    <tr>
                        <td width="180px">
                            <b>Adults</b></td>
                        <td>
                            <asp:TextBox ID="txtAdult" runat="server" MaxLength="2" Width="100px"></asp:TextBox>
                            <span title="Enter Hotel Name" class="toolTip">&nbsp;<img alt="Help" src="images/help.gif" /><asp:RegularExpressionValidator 
                                ID="regName" runat="server" 
                                ControlToValidate="txtAdult" ErrorMessage="&lt;br /&gt;Enter Number only" 
                                ValidationExpression="^\d+$" ValidationGroup="submit" Display="Dynamic" CssClass="red"></asp:RegularExpressionValidator>
                            </span></td>
                    </tr>
                    <tr>
                        <td width="180px">
                            <b>Child</b></td>
                        <td>
                            <asp:TextBox ID="txtChild" runat="server" MaxLength="2" Width="100px"></asp:TextBox>
                            <span title="Enter Child" class="toolTip">&nbsp;<img alt="Help" src="images/help.gif" /><asp:RegularExpressionValidator 
                                ID="regName0" runat="server" 
                                ControlToValidate="txtChild" ErrorMessage="&lt;br /&gt;Enter Number only" 
                                ValidationExpression="^\d+$" ValidationGroup="submit" Display="Dynamic" CssClass="red"></asp:RegularExpressionValidator>
                            </span></td>
                    </tr>
                    <tr>
                        <td width="180px">
                            <b>IsActive</b></td>
                        <td>
                            <asp:CheckBox ID="chkActive" runat="server" Checked="true" />
                        </td>
                    </tr>
                    <tr>
                        <td width="180px">
                            </td>
                        <td>
                                <asp:Button ID="btnSave" runat="server" Text="Save" ValidationGroup="submit" CssClass="form-button" />&nbsp;&nbsp;
                                <asp:Button ID="btnCancel" runat="server" Text="Cancel" CssClass="form-button" />
                            </td>
                    </tr>
                    <tr>
                        <td width="180px">
                            &nbsp;</td>
                        <td>
                            &nbsp;</td>
                    </tr>
                </table>
            </td>
        </tr>
    </table>
</asp:Content>
